//
//  NSString+Trim.m
//  CMClient
//
//  Created by zhaol on 9/16/15.
//  Copyright (c) 2015 zify. All rights reserved.
//

#import "NSString+Trim.h"

@implementation NSString(Trim)

- (NSString*)trim
{
    NSString *trimmedString = [self stringByTrimmingCharactersInSet:
                               [NSCharacterSet whitespaceAndNewlineCharacterSet]];
    return trimmedString;
}

@end
